package com.atguigu.gulimall.product;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;


@EnableCaching  //开启系统缓存功能
@SpringBootApplication
@EnableDiscoveryClient  //开启服务注册发现功能!
@EnableFeignClients(basePackages = "com.atguigu.gulimall.product.feign")
@EnableRedisHttpSession
public class GulimallProductApplication {
    public static void main(String[] args) {

        SpringApplication.run(GulimallProductApplication.class, args);
    }
}
